package rs.dalao.syc.doctor.all.dao.persist.repository;

import rs.dalao.syc.doctor.all.pojo.entity.DoctorCredential;
import rs.dalao.syc.doctor.all.pojo.param.DoctorCredentialParam;
import rs.dalao.syc.doctor.all.pojo.vo.DoctorCredentialVO;

public interface IDoctorCredentialRepository {
    //新增医生证书信息
    int insert(DoctorCredential doctorCredential);

    //修改医生的证书信息
    int updateById(DoctorCredentialParam doctorCredentialParam,Long id);

    //根据医生id查询医生证书信息
    DoctorCredentialVO selectById(Long id);

    //根据id修改医生的角色
    int updateRoleById(Long id);
}
